Expand description
This crate generates Rust sources for use by
cranelift_codegen
.
Modulesยง
- cdsl ๐Cranelift DSL classes.
- constant_
hash ๐Build support for precomputed constant hash tables. - Error returned during meta code-generation.
- gen_
inst ๐Generate instruction data (including opcodes, formats, builders, etc.). - gen_
isle ๐ - gen_
settings ๐Generate the ISA-specific settings. - gen_
types ๐Generate sources with type info. - Define supported ISAs; includes ISA-specific instructions, encodings, registers, settings, etc.
- shared ๐Shared definitions for the Cranelift intermediate language.
- srcgen ๐Source code generator.
- unique_
table ๐An index-accessed table implementation that avoids duplicate entries.
Macrosยง
- A macro that converts boolean settings into predicates to look more natural.
- A macro that joins boolean settings into a list (e.g.
preset!(feature_a && feature_b)
).
Functionsยง
- Generates all the source files used in Cranelift from the meta-language.
- Generates all the ISLE source files used in Cranelift from the meta-language.
- Generates all the Rust source files used in Cranelift from the meta-language.
- Generate an ISA from an architecture string (e.g. โx86_64โ).